package com.gitee.chili.leisure.repository;

import com.gitee.chili.leisure.base.BaseRepository;
import com.gitee.chili.leisure.domain.Member;

/**
 * MemberRepository
 *
 * @author week solider
 * @since 2020.09.01
 */
public interface MemberRepository extends BaseRepository<Long, Member> {


    Member findByPhone(String phone);

    Member findByUsernameAndPassword(String username, String password);
}
